import java.io.File;
import java.nio.file.Path;

/**
 * @author f
 */
public class EmojiUrlPrinter {

    public static void main(String[] args) {
        Path path = Path.of("/Users/f/Program/bear_spark/resources/");
        File dir = path.toFile();
        File[] files = dir.listFiles();
        System.out.println("INSERT INTO t_emoji (emoji_url) VALUES ");
        for (File file : files) {
            if (file.getName().equals("default-avatar.gif")) {
                continue;
            }
            System.out.println("('http://<h>/bear-spark/file/download/" + file.getName() + "'),");
        }
        System.out.println(";");
    }

}
